package com.legal.app.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.legal.app.domain.LawyerComment;
import com.legal.app.domain.vo.LawyerCommentVO;

/**
 * 律师评论Mapper接口
 * 
 * @author Ale
 * @date 2025-05-30
 */
public interface LawyerCommentMapper extends BaseMapper<LawyerComment>
{
    /**
     * 查询律师评论
     * 
     * @param id 律师评论主键
     * @return 律师评论
     */
    public LawyerComment selectLawyerCommentById(Long id);

    /**
     * 查询律师评论列表
     * 
     * @param lawyerComment 律师评论
     * @return 律师评论集合
     */
    public List<LawyerComment> selectLawyerCommentList(LawyerComment lawyerComment);

    /**
     * 新增律师评论
     * 
     * @param lawyerComment 律师评论
     * @return 结果
     */
    public int insertLawyerComment(LawyerComment lawyerComment);

    /**
     * 修改律师评论
     * 
     * @param lawyerComment 律师评论
     * @return 结果
     */
    public int updateLawyerComment(LawyerComment lawyerComment);

    /**
     * 删除律师评论
     * 
     * @param id 律师评论主键
     * @return 结果
     */
    public int deleteLawyerCommentById(Long id);

    /**
     * 批量删除律师评论
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLawyerCommentByIds(Long[] ids);

    List<LawyerCommentVO> selectLawyerCommentVOList(LawyerComment lawyerComment);

//    public List<LawyerComment> selectLawyerCommentList(LawyerComment lawyerComment);
}
